<div class="card-block dt-responsive">

    <div class="table-responsive">
        <div id="dom-jqry_wrapper" class="dataTables_wrapper dt-bootstrap4">

            <table class="table table-striped table-bordered table-hover">
                <thead>
                <tr>
                    <g:sortableColumn property="fullName" title="姓名"/>
                    <g:sortableColumn property="createBy" title="创建人"/>
                    <g:sortableColumn property="modifyBy" title="修改人"/>
                    <g:sortableColumn property="createdDate" title="创建时间"></g:sortableColumn>
                    <g:sortableColumn property="modifiedDate" title="修改时间"></g:sortableColumn>
                    <g:sortableColumn property="active"  width="8%" class="text-center" title="操作"/>
                </tr>
                </thead>
                <tbody>
                <g:each in="${teamList}">
                    <tr>
                        <td>${it?.user?.fullName}</td>
                        <td>${it?.createBy}</td>
                        <td>${it?.modifyBy}</td>
                        <td><g:formatDate date="${it?.createdDate}"
                                          format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>
                        <td><g:formatDate date="${it?.modifiedDate}"
                                          format="yyyy-MM-dd HH:mm:ss"></g:formatDate></td>
                        <td class="text-center">
                          <g:link class="m-r-15 text-primary"
                                  controller="${this.teamName}" action="edit"
                                  id="${it?.id}">
                              <i class="icofont icofont-ui-edit"></i>

                          </g:link>
                            <g:form controller="${this?.teamName}" action="delete" class="inline" id="${it.id}" method="DELETE">
                                <button class="deleteBtn text-danger" type="button">
                                    <i class="icofont icofont-trash"></i>
                                </button>
                            </g:form>

                        </td>
                    </tr>
                </g:each>
                </tbody>

            </table>
        </div>
    </div>

</div>
